package com.lhoverc.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: LiCheng
 * @CreateTime: 2025-04-20
 * @Description:
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LogEntity {
    //日志id
    private Integer id;
    //操作人id
    private Integer operatorId;
    //操作时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operationTime;
    //操作全类名
    private String className;
    //操作方法名
    private String methodName;
    //操作方法参数
    private String methodParams;
    //返回值
    private String returnValue;
    //花费时间
    private long costTime;
    //是否被删除
    private Integer isDelete;
}
